package com.tfleo.mealssenger.object;


public class Hangout {	
	public final int id;
	public final int hostId;
	public final String hostName;
	public final String hostImageUrl;
	public final int placeId;
	public final String placeName;
	public final String placeAddress;
	public final String placeMap;
	public final String placeLon;
	public final String placeLat;
	public final int numOfGuests;
	public final String message;
	public final String date;
	
	public Hangout(int id, int hostId, String hostName, String hostImage, int placeId, String placeName,
			String placeAddress, String placeMap, String placeLon, String placeLat, int numOfGuests, String message, String date) {
		this.id = id;
		this.hostId = hostId;
		this.hostName = hostName;
		this.hostImageUrl = User.IMAGE_PATH + hostImage;
		this.placeId = placeId;
		this.placeName = placeName;
		this.placeAddress = placeAddress;
		this.placeMap = placeMap;
		this.placeLon = placeLon;
		this.placeLat = placeLat;
		this.numOfGuests = numOfGuests;
		this.message = message;
		this.date = date;
	}
	
	public Hangout(int id, String placeName, int numOfGuests, String date) {
		this.id = id;
		this.hostId = 0;
		this.hostName = "";
		this.hostImageUrl = "";
		this.placeId = 0;
		this.placeName = placeName;
		this.placeAddress = "";
		this.placeMap = "";
		this.placeLon = "";
		this.placeLat = "";
		this.numOfGuests = numOfGuests;
		this.message = "";
		this.date = date;
	}
}
